package com.atguigu.mybaits_plus_test.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "log_icecoldmonitor")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "log_icecoldmonitor")
public class LogIceColdMonitor {
    private static final long serialVersionUID = 1L;
    @TableId(value = "Id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 优先级
     */
    @TableField(value = "`level`")
    @ApiModelProperty(value = "优先级")
    private String level;

    /**
     * 类目
     */
    @TableField(value = "category")
    @ApiModelProperty(value = "类目")
    private String category;

    /**
     * 进程
     */
    @TableField(value = "thread")
    @ApiModelProperty(value = "进程")
    private String thread;

    /**
     * 时间
     */
    @TableField(value = "`time`")
    @ApiModelProperty(value = "时间")
    private String time;

    /**
     * 位置
     */
    @TableField(value = "`location`")
    @ApiModelProperty(value = "位置")
    private String location;

    /**
     * 日志信息
     */
    @TableField(value = "note")
    @ApiModelProperty(value = "日志信息")
    private String note;
}